<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <link rel="stylesheet" href="./css/index2.css" />
    <link rel="stylesheet" href="./css/style.css" />
    <link rel="stylesheet" href="./css/font/iconfont.css" />
    <link rel="stylesheet" href="./swiper/swiper-bundle.min.css" />
  </head>
  <body>
    <!-- 头部 start-->
    <header id="top">
      <div class="header_top">
        <div class="header_topbar fr">
          <div class="topbar_login">
            <p class="p1">
              <a href="./logon2.html">登录</a>&nbsp;或&nbsp;<a
                href="./regj2.html"
                >注册</a
              >&nbsp;ANTA会员
            </p>
            <p class="p2" style="display: none">
              <a href="javascript:;">欢迎：<span></span></a>
            </p>
          </div>
          <div class="topbar_cart">
            <a href="./cart2.html" class="iconfont icon-gouwuchefill"></a>
          </div>
          <div class="topbar_service">
            <a href="javascript:;" class="iconfont icon-custom-service"></a>
          </div>
          <div class="topbar_en">
            <a href="javascript:;">EN</a>
          </div>
        </div>
      </div>
      <div class="header_bottom">
        <div class="header_logo fl">
          <a href="./index2.html">
            <img src="./img/logo-anta.svg" alt="" width="" />
          </a>
        </div>
        <ul class="header_nav fr">
          <li class="nav_item">
            <a href="./list2.html">冬奥国旗款</a>
          </li>
          <li class="nav_item">
            <a href="javascript:;">男子</a>
            <div class="menu_two">
              <div class="menu_inner">
                <ul class="cate_list">
                  <li><a href="javascript:;">所有鞋类</a></li>
                  <li><a href="javascript:;">运动鞋</a></li>
                  <li><a href="javascript:;">跑鞋</a></li>
                  <li><a href="javascript:;">篮球鞋</a></li>
                  <li><a href="javascript:;">休闲鞋</a></li>
                  <li><a href="javascript:;">板鞋</a></li>
                  <li><a href="javascript:;">户外综训鞋</a></li>
                </ul>
                <ul class="cate_list">
                  <li><a href="javascript:;">所有服装</a></li>
                  <li><a href="javascript:;">套头卫衣</a></li>
                  <li><a href="javascript:;">外套夹克</a></li>
                  <li><a href="javascript:;">羽绒服/马甲</a></li>
                  <li><a href="javascript:;">短袖T恤</a></li>
                  <li><a href="javascript:;">长裤</a></li>
                  <li><a href="javascript:;">运动裤</a></li>
                </ul>
                <ul class="cate_list">
                  <li><a href="javascript:;">所有配件</a></li>
                  <li><a href="javascript:;">包类</a></li>
                  <li><a href="javascript:;">运动袜子</a></li>
                  <!-- <li><a href="javascript:;">所有鞋类</a></li>
                                <li><a href="javascript:;">所有鞋类</a></li>
                                <li><a href="javascript:;">所有鞋类</a></li>
                                <li><a href="javascript:;">所有鞋类</a></li> -->
                </ul>
                <ul class="cate_list" style="border-right: 0">
                  <li><a href="javascript:;">运动项目</a></li>
                  <li><a href="javascript:;">跑步</a></li>
                  <li><a href="javascript:;">篮球</a></li>
                  <li><a href="javascript:;">综训</a></li>
                  <li><a href="javascript:;">生活</a></li>
                  <li><a href="javascript:;">健身</a></li>
                  <!-- <li><a href="javascript:;">所有鞋类</a></li> -->
                </ul>
              </div>
            </div>
          </li>
          <li class="nav_item">
            <a href="javascript:;">女子</a>
            <div class="menu_two">
              <div class="menu_inner">
                <ul class="cate_list">
                  <li><a href="javascript:;">所有鞋类</a></li>
                  <li><a href="javascript:;">跑鞋</a></li>
                  <li><a href="javascript:;">休闲鞋</a></li>
                  <li><a href="javascript:;">板鞋</a></li>
                  <li><a href="javascript:;">棉鞋</a></li>
                  <!-- <li><a href="javascript:;">所有鞋类</a></li>
                                <li><a href="javascript:;">所有鞋类</a></li> -->
                </ul>
                <ul class="cate_list">
                  <li><a href="javascript:;">所有服装</a></li>
                  <li><a href="javascript:;">羽绒服</a></li>
                  <li><a href="javascript:;">套头卫衣</a></li>
                  <li><a href="javascript:;">羽绒服/马甲</a></li>
                  <li><a href="javascript:;">长裤</a></li>
                  <li><a href="javascript:;">短袖T恤</a></li>
                  <li><a href="javascript:;">运动短裤</a></li>
                </ul>
                <ul class="cate_list" style="border-right: 0">
                  <li><a href="javascript:;">所有配件</a></li>
                  <li><a href="javascript:;">包类</a></li>
                  <li><a href="javascript:;">运动袜类</a></li>
                  <!-- <li><a href="javascript:;">所有鞋类</a></li>
                                <li><a href="javascript:;">所有鞋类</a></li>
                                <li><a href="javascript:;">所有鞋类</a></li>
                                <li><a href="javascript:;">所有鞋类</a></li> -->
                </ul>
              </div>
            </div>
          </li>
          <li class="nav_item">
            <a href="javascript:;">儿童</a>
            <div class="menu_two">
              <div class="menu_inner">
                <ul class="cate_list">
                  <li><a href="javascript:;">新品上市</a></li>
                  <li><a href="javascript:;">男中大童</a></li>
                  <li><a href="javascript:;">女中大童</a></li>
                  <li><a href="javascript:;">男小童</a></li>
                  <li><a href="javascript:;">女小童</a></li>
                  <li><a href="javascript:;">婴童</a></li>
                  <!-- <li><a href="javascript:;">所有鞋类</a></li> -->
                </ul>
                <ul class="cate_list">
                  <li><a href="javascript:;">所有鞋类</a></li>
                  <li><a href="javascript:;">跑鞋</a></li>
                  <li><a href="javascript:;">篮球鞋</a></li>
                  <li><a href="javascript:;">休闲鞋</a></li>
                  <li><a href="javascript:;">板鞋</a></li>
                  <li><a href="javascript:;">足球鞋</a></li>
                  <!-- <li><a href="javascript:;">所有鞋类</a></li> -->
                </ul>
                <ul class="cate_list">
                  <li><a href="javascript:;">所有服饰</a></li>
                  <li><a href="javascript:;">套头卫衣</a></li>
                  <li><a href="javascript:;">羽绒服</a></li>
                  <li><a href="javascript:;">短袖T恤</a></li>
                  <li><a href="javascript:;">运动短裤</a></li>
                  <li><a href="javascript:;">长裤</a></li>
                  <!-- <li><a href="javascript:;">所有鞋类</a></li> -->
                </ul>
                <ul class="cate_list" style="border-right: 0">
                  <li><a href="javascript:;">所有配饰</a></li>
                  <li><a href="javascript:;">包类</a></li>
                  <!-- <li><a href="javascript:;">所有鞋类</a></li>
                                <li><a href="javascript:;">所有鞋类</a></li>
                                <li><a href="javascript:;">所有鞋类</a></li>
                                <li><a href="javascript:;">所有鞋类</a></li>
                                <li><a href="javascript:;">所有鞋类</a></li> -->
                </ul>
              </div>
            </div>
          </li>
          <li class="nav_item">
            <a href="javascript:;">安踏儿童</a>
          </li>
          <li class="nav_item">
            <a href="javascript:;">品牌文化</a>
          </li>
          <li class="nav_item">
            <a href="javascript:;">观赏视频</a>
          </li>
          <li class="nav_item">
            <a href="javascript:;">联系我们</a>
          </li>
          <li class="nav_item last_li">
            <div class="nav_search">
              <a
                href="javascript:;"
                class="nav_search_btn iconfont icon-xiangshang"
              ></a>
              <input type="text" class="nav_search_ipt" placeholder="搜索" />
            </div>
          </li>
        </ul>
      </div>
    </header>
    <!-- 头部 end-->
    <!-- 主体 start -->
    <main id="main">
      <div class="main_container">
        <div class="main_box">
          <a href="javascript:;">
            <img src="./img/swiper1.png" alt="" />
          </a>
        </div>
        <div class="main_box">
          <a href="javascript:;">
            <img src="./img/swiper2.jpg" alt="" />
          </a>
        </div>
        <div class="main_box">
          <a href="javascript:;">
            <img src="./img/swiper3.jpg" alt="" />
          </a>
        </div>
        <div class="main_box">
          <a href="javascript:;">
            <img src="./img/swiper4.jpg" alt="" />
          </a>
        </div>
        <div class="main_box">
          <a href="javascript:;">
            <img src="./img/swiper5.jpg" alt="" />
          </a>
        </div>
        <div class="main_box">
          <img src="./img/swiper6.jpg" alt="" />
          <div class="hoverup_inner">
            <a href="javascript:;" class="hoverup_item">
              <img src="./img/main5-1.jpg" alt="" />
              <div class="hover_main">
                <div></div>
                <img src="./img/main5-1-1.jpg" alt="" />
              </div>
            </a>
            <a href="javascript:;" class="hoverup_item">
              <img src="./img/main5-2.jpg" alt="" />
              <div class="hover_main">
                <div></div>
                <img src="./img/main5-2-2.png" alt="" />
              </div>
            </a>
            <a href="javascript:;" class="hoverup_item">
              <img src="./img/main5-3.jpg" alt="" />
              <div class="hover_main">
                <div></div>
                <img src="./img/main5-3-3.png" alt="" />
              </div>
            </a>
            <a href="javascript:;" class="hoverup_item">
              <img src="./img/main5-4.jpg" alt="" />
              <div class="hover_main">
                <div></div>
                <img src="./img/main5-4-4.png" alt="" />
              </div>
            </a>
          </div>
        </div>
        <div class="main_box">
          <div class="choose_box">
            <img src="./img/tu.jpg" alt="" />
            <div class="choose_btn">
              <a href="javascript:;" class="choose_btn1"></a>
              <a href="javascript:;" class="choose_btn2"></a>
            </div>
          </div>
        </div>
        <!-- swiper轮播图 start -->
        <div class="main_box main_swiper">
          <div class="swiper_top">
            <h3>猜你喜欢</h3>
            <a href="javascript:;">即刻选购</a>
          </div>
          <div class="swiper-container">
            <div class="swiper-wrapper">
              <div class="swiper-slide">
                <a href="javascript:;">
                  <img src="./img/mini1.jpg" alt="" />
                  <span>【冠军系列】安踏2022年北京冬奥会国旗款女短袖</span>
                </a>
              </div>
              <div class="swiper-slide">
                <a href="javascript:;">
                  <img src="./img/mini2.jpg" alt="" />
                  <span>【冠军系列】冬奥特许商品国旗款女短袖POLO衫</span>
                </a>
              </div>
              <div class="swiper-slide">
                <a href="javascript:;">
                  <img src="./img/mini3.jpg" alt="" />
                  <span>【冠军系列】安踏男子国旗款短袖针织T恤衫</span>
                </a>
              </div>
              <div class="swiper-slide">
                <a href="javascript:;">
                  <img src="./img/mini4.jpg" alt="" />
                  <span
                    >【安踏冠军健身训练系列】安踏国家队同款科技星火男子氮科技缓震跑步训练跑鞋</span
                  >
                </a>
              </div>
              <div class="swiper-slide">
                <a href="javascript:;">
                  <img src="./img/mini5.jpg" alt="" />
                  <span
                    >【王一博同款】【安踏冠军训练系列】国家队科技力量男训练鞋</span
                  >
                </a>
              </div>
            </div>
            <!-- 如果需要分页器 -->
            <div
              class="swiper-pagination"
              style="
                width: 100%;
                height: 6px;
                left: 0;
                top: 40px;
                position: relative;
              "
            ></div>

            <!-- 如果需要导航按钮 -->
            <div class="swiper-button-prev"></div>
            <div class="swiper-button-next"></div>

            <!-- 如果需要滚动条 -->
            <!-- <div class="swiper-scrollbar">

                    </div> -->
          </div>
        </div>
        <!-- swiper轮播图 end -->
        <div class="main_box main_ft">
          <div class="main_ft_inner">
            <h3 class="main_ft_title">关注我们</h3>
            <p>抢先得知最新产品、独家消息及优惠资讯</p>
            <ul class="main_ft_links">
              <li class="main_ft_weixin">
                <a href="javascript:;" class="iconfont icon-weixin">
                  <div class="weixin_code">
                    <span class="triangle"></span>
                    <img src="./img/saoma.jpg" alt="" />
                  </div>
                </a>
              </li>
              <li class="main_ft_weibo">
                <a
                  href="http://weibo.com/anta"
                  target="_blank"
                  class="iconfont icon-xinlangweibo"
                >
                </a>
              </li>
            </ul>
          </div>
        </div>
      </div>
    </main>
    <!-- 主体 end -->
    <!-- 脚部 start -->
    <footer>
      <div class="footer_inner">
        <div class="footer_left fl">
          <img src="./img/footer-anta.svg" alt="" />
        </div>
        <div class="footer_right fr">
          <ul class="links_line">
            <li style="border-left: 0">
              <a href="javascript:;">安踏海外</a>
            </li>
            <li>
              <a href="javascript:;">安踏投资者关系</a>
            </li>
          </ul>
          <div class="footer_copyright">
            <div style="margin-bottom: 6px">
              <span>Copyright(C) 2020 by www.ANTA.com</span>
              <span>©安踏体育用品有限公司版权所有</span>
              <a href="javascript:;">营业执照</a>
              <a href="javascript:;">开户许可证</a>
            </div>
            <div>
              <a href="javascript:;">闽ICP备11020421号-1</a>
              <a href="javascript:;">闽公网安备35058202000423号</a>
            </div>
          </div>
          <ul class="links_line">
            <li style="border-left: 0"><a href="javascript:;">安踏儿童</a></li>
            <li><a href="javascript:;">Fila</a></li>
            <li><a href="javascript:;">Kolon Sport</a></li>
            <li><a href="javascript:;">Descente</a></li>
            <li><a href="javascript:;">Sprandi</a></li>
            <li><a href="javascript:;">Kingkow</a></li>
          </ul>
        </div>
      </div>
    </footer>
    <!-- 脚部 end -->
    <!-- 侧边栏 start -->
    <div class="sidebar">
      <a href="javascript:;" class="goto_top"></a>
      <a href="javascript:;" class="goto_cart"></a>
      <a href="javascript:;" class="goto_kefu"></a>
    </div>
    <!-- 侧边栏 end -->
  </body>
</html>
<script src="./node_modules/_jquery@3.6.0@jquery/dist/jquery.min.js"></script>
<script src="./swiper/swiper-bundle.min.js"></script>
<!-- <script src="./js/anta.js"></script> -->
<script src="./js/cookietool.js"></script>

<script>
  // 二级菜单
  $(".nav_item")
    .mouseover(function () {
      $(this).find(".menu_two").show();
    })
    .mouseout(function () {
      $(this).find(".menu_two").hide();
    });

  // 人物图片
  $(".hoverup_item").on("mouseover", function () {
    $(this).find(".hover_main>img").show();
    $(this).find(".hover_main>div").show();
    $(this).find(".hover_main>img").stop().animate(
      {
        bottom: "0",
        opacity: "1",
      },
      1000
    );
  });
  $(".hoverup_item").on("mouseout", function () {
    $(this).find(".hover_main>div").hide();
    $(this).find(".hover_main>img").stop().animate(
      {
        bottom: "-50px",
        opacity: "0",
      },
      500
    );
  });

  // 判断是否存有cookie值
  let username = getCookie("username");
  if (username != "") {
    $(".p1").css("display", "none");
    $(".p2").css("display", "block");
    $(".p2>a>span").html(username);
  } else {
    $(".p1").css("display", "block");
    $(".p2").css("display", "none");
  }
  // 滚动回顶部
  let goto_top = document.querySelector('.goto_top')
  var timer = null;
  goto_top.onclick = function () {
      cancelAnimationFrame(timer);
      timer = requestAnimationFrame(function fn() {
          var oTop = document.body.scrollTop || document.documentElement.scrollTop;
          if (oTop > 0) {
              document.body.scrollTop = document.documentElement.scrollTop = oTop - 200;
              timer = requestAnimationFrame(fn);
          } else {
              cancelAnimationFrame(timer);
          }
      });
  }
</script>
<!-- swiper轮播图 -->
<script>
  var mySwiper = new Swiper(".swiper-container", {
    direction: "horizontal", // 垂直切换选项
    loop: false, // 循环模式选项

    slidesPerView: 4,
    spaceBetween: 20,

    // 如果需要分页器
    pagination: {
      el: ".swiper-pagination",
      type: "progressbar",
    },

    // 如果需要前进后退按钮
    navigation: {
      nextEl: ".swiper-button-next",
      prevEl: ".swiper-button-prev",
      hideOnClick: true,
    },
    // 如果需要滚动条
    // scrollbar: {
    //     el: '.swiper-scrollbar',
    // },
  });

  // mySwiper 面向对象
</script>
